package cn.lyd.org.service;

import cn.lyd.org.domain.Shop;
import cn.lyd.base.service.IBaseService;
import cn.lyd.org.domain.ShopAuditLog;
import cn.lyd.org.dto.ShopAuditDto;
import cn.lyd.org.dto.ShopDto;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author lyd
 * @since 2022-12-26
 */
public interface IShopService extends IBaseService<Shop> {

    //店铺入驻
    void settlement(ShopDto dto);

    //店铺审核通过
    void auditPass(ShopAuditDto dto);

    //店铺审核激活
    void activate(Long id);

    //店铺审核驳回
    void auditReject(ShopAuditDto dto);

    //店铺审核重新入驻
    void registerAgain(ShopDto dto);

    //报表
    Map<String, Object> loadShopEchartsData();



    //批量新增
//    void batchAdd(List<Shop> shops);
}
